package com.oms.module.merchant.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @Author zhanghailong QQ38592077
 * @Description TODO
 * @Date 2020/7/13 17:02
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel
public class AddShopVO {
    @ApiModelProperty(required = true)
    @NotEmpty(message = "店铺名称不能为空")
    private String name;

    @ApiModelProperty(required = true,example = "1淘宝2拼多多3京东4阿里巴巴5快手6抖音")
    @NotNull(message = "店铺类型不能为空")
    private Integer shopType;

    @ApiModelProperty(required = true)
    @NotEmpty(message = "店铺旺旺不能为空")
    private String alitalk;

    @ApiModelProperty(required = true)
    @NotEmpty(message = "发货人名称不能为空")
    private String sendersName;

    @ApiModelProperty(required = true)
    @NotEmpty(message = "发货人电话不能为空")
    private String sendersPhone;

    @ApiModelProperty(required = true)
    @NotEmpty(message = "发货地址不能为空")
    private String sendersArea;

    @ApiModelProperty(required = true)
    @NotEmpty(message = "详细地址不能为空")
    private String address;

    @ApiModelProperty(required = true)
    @NotEmpty(message = "店铺链接不能为空")
    private String shopUrl;

    @ApiModelProperty(required = true)
    @NotNull(message = "用户ID不能空")
    private Long userId;
}
